<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    .ball {
      width: 30px;
      height: 30px;
      background-color: black;
      border-radius: 50%;
      position: relative;
      left: 90px;
      animation: failing 5s ease-in-out forwards;
    }

    @keyframes failing {
      0% {
        transform: translateY(0);
      }
      10% {
        transform: translateY(100vh) translateX(10vw);
      }
      20% {
        transform: translateY(10vh) translateX(20vw); 
      }
      30% {
        transform: translateY(100vh) translateX(30vw); 
      }
      40% {
        transform: translateY(20vh) translateX(40vw); 
      }
      50% {
        transform: translateY(100vh) translateX(50vw); 
      }
      60% {
        transform: translateY(30vh) translateX(60vw); 
      }
      70% {
        transform: translateY(100vh) translateX(70vw); 
      }
      80% {
        transform: translateY(40vh) translateX(80vw); 
      }
      90% {
        transform: translateY(100vh) translateX(90vw); 
      }
      100% {
        transform: translateY(50vh) translateX(100vw); 
      }
    }

  </style>
</head>
<body>
  <div class="ball"></div>
</body>
</html>